<script>
import MyChart from "@/components/show_data/MyChart.vue";

export default {
  name: "Account_Data1",
  components: {MyChart},
  data(){
    return{
      option:{
        title: {
          text: '动作词评测结果'
        },
        tooltip: {
          trigger: 'axis',
          axisPointer: {
            type: 'shadow'
          }
        },
        legend: {},
        grid: {
          left: '3%',
          right: '4%',
          bottom: '3%',
          containLabel: true
        },
        xAxis: {
          type: 'value',
          boundaryGap: [0, 0.01]
        },
        yAxis: {
          type: 'category',
          data: ['题目一', '题目二', '题目三', '题目四', '题目五', '题目六']
        },
        series: [
          {
            name: '参考值',
            type: 'bar',
            data: [99,78, 55, 45, 34,23]
          },
          {
            name: '实测值',
            type: 'bar',
            data: [ 95, 86 ,60 ,40 ,37,35]
          }
        ]
      }
    }
  }
}
</script>

<template>
  <MyChart :key1="option" echat_width="500" echat_height="400"/>
</template>

<style scoped>

</style>